package com.vanysoft.business.kpi.service;

import com.vanysoft.business.kpi.entity.KpiItemRule;
import com.vanysoft.framework.config.database.BaseService;

import java.util.List;

/**
 * @author yu_chen
 * @date 2018-07-09 14:22
 **/
public interface KpiItemRuleService extends BaseService<KpiItemRule> {


    /**
     * 保存所有的kpi规则
     *
     * @param kpiItemRuleList kpi规则列表
     * @param userName        操作的用户
     * @return true 保存成功
     */
    boolean insertAllKpiRule(List<KpiItemRule> kpiItemRuleList, String userName);
}
